GrapeCity.CalcEngine.Functions Namespace > CalcIfErrorFunction Class > Evaluate Method : Evaluate(Object[]) Method |
The args contains three items: value, value_if_error.
Value is the argument that is checked for an error.
Value_if_error is the value to return if the formula evaluates to an error. The following error types are evaluated: #N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!.
'Usage Dim instance As CalcIfErrorFunction Dim args() As Object Dim value As Object value = instance.Evaluate(args)
The args contains three items: value, value_if_error.
Value is the argument that is checked for an error.
Value_if_error is the value to return if the formula evaluates to an error. The following error types are evaluated: #N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!.
Target Platforms: Windows Server 2012, Windows RT